<?php

function mandarMail($to,$subject,$body){
  $remitente = "info@powerlaptops.com.ve";
  $headers = "MIME-Version: 1.0\r\n";
  $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
  $headers .= "From: PowerLaptops <$remitente>\r\n";
  $headers .= "Reply-To: $remitente\r\n";
  $headers .= "Return-path: $remitente\r\n";
  $to3="jffiorillo@gmail.com";
  echo "<script type=\"text/javascript\">";
    echo "function email(){";
  if (mail($to, $subject, $body, $headers)){
    echo "alert(\"Mail Enviado a ".$to." con asunto ".$subject."\");";
  }else{
    echo "alert(\"Mail NO Enviado a ".$to." con asunto ".$subject."\");";
  }
  /*
  if (mail($to3,$subject,$body,$headers)){
    echo "alert(\"Mail Enviado a ".$to3." con asunto ".$subject."\");";
  }else{
    echo "alert(\"Mail NO Enviado a ".$to3." con asunto ".$subject."\");";
  }
   *
   */
	echo "}email();";
  echo "</script>";
}
#pli.negocios@gmail.com
#pagos@powerlaptops.com.ve

function mandarDirDeRetiro($login){
;
/* */
}
?>
